package cn.ctyun.ipush.service;

import cn.ctyun.ipush.model.EmailModel;
import cn.ctyun.ipush.model.ExcelModel;
import cn.ctyun.ipush.vo.EmailVo;
import cn.ctyun.ipush.vo.ExcelVo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: user
 * Date: 16-7-4
 * Time: 上午10:50
 * To change this template use File | Settings | File Templates.
 */
public interface ExcelService {

    public void save(ExcelVo excelVo);
    public String save(ExcelModel excelModel);

    public int delete(String excelId);

    public int update(ExcelVo excelVo);
    // public int update(DataSourceModel dataSourceModel);

    public ExcelVo querySingleResultVo(String excelId);
    public ExcelModel querySingleResult(String excelId);
    public List<ExcelModel> queryList(ExcelModel excelModel);
    public List<ExcelVo>  queryListVo(ExcelVo excelVo);

    // public boolean update(String taskGroupName, String taskName, String cronExpression);

    boolean isExist(ExcelVo excelVo);

    List<ExcelVo> queryAll();

    List<ExcelVo> queryListVoByPage(ExcelVo excelVo);

}
